package com.goods.service;

import com.goods.common.model.business.Consumer;
import com.goods.common.model.business.OutStock;
import com.goods.common.vo.business.OutStockDetailVO;
import com.goods.common.vo.business.OutStockItemVO;
import com.goods.common.vo.business.OutStockVO;

import java.util.List;

public interface OutStockService {
    List<OutStock> findOutStockList(Integer status);

    Consumer findConsumer(Long consumerId);

    List<OutStockItemVO> detail(Long id, Integer pageNum);

    Consumer findConsumerId(Long id);

    List<OutStock> findOutStockList(Integer status, String outNum, String type);

    int remove(Long id);

    int back(Long id);

    int delete(Long id);


    int addOutStock(OutStockVO outStockVO);

    int publish(long id);
}
